package arguementlearn;

public class DataOpe {
	public int dataOpe(DataObject o){
//		o.setData(100);
		DataObject a = new DataObject(200);
		o = a;
		int m = o.getData();
		return m;
	}
	public int dataOpe2(DataObject o){
		o.setData(100);
		int m = o.getData();
		return m;
	}
	public int dataOpe(int m){
		m = 100;
		m++;
		return m;
	}
	public String dataOpe(StringBuffer s){
//		s = "hello world";
//		s.replaceAll(s, "hello world");
		s.append("hello world");
		System.out.println("in the program the vlaue of s is "+s);
		return s.toString();
	}
}
